package com.ptu.entity;

/**
 * 图片实体类
 */
public class ExpImage {
    private Integer imgid;      // 图片编号
    private Integer expid;      // 图片所属报销单
    private String realname;    // 图片真实名称
    private String filename;    // 图片上传后名称
    private String filetype;    // 图片类型

    @Override
    public String toString() {
        return "ExpImage{" +
                "imgid=" + imgid +
                ", expid=" + expid +
                ", realname='" + realname + '\'' +
                ", filename='" + filename + '\'' +
                ", filetype='" + filetype + '\'' +
                '}';
    }

    public ExpImage(Integer imgid, Integer expid, String realname, String filename, String filetype) {
        this.imgid = imgid;
        this.expid = expid;
        this.realname = realname;
        this.filename = filename;
        this.filetype = filetype;
    }

    public ExpImage() {
    }

    public Integer getImgid() {
        return imgid;
    }

    public void setImgid(Integer imgid) {
        this.imgid = imgid;
    }

    public Integer getExpid() {
        return expid;
    }

    public void setExpid(Integer expid) {
        this.expid = expid;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getFiletype() {
        return filetype;
    }

    public void setFiletype(String filetype) {
        this.filetype = filetype;
    }
}
